home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Sound / Static / Makefile < prev   
Makefile  |  1995-07-09  |  1KB  |  55 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.SysBeep    \
  4.  
  5.  
  6. LibName        =    Sound
  7.  
  8. # Template makefile which makes normal 
  9. # .o files for use in the main static
  10. # linking DeskLib.
  11.  
  12. # The macro $(ObjectFiles) should be set at the 
  13. # start of this file to be a space-separated
  14. # list of object files.
  15. # This is done by 'Makatic'.
  16.  
  17. # The macro $(LibName) should also be set at the 
  18. # start of this file, to be the name of the 
  19. # DeskLib sublibrary.
  20. # This is done by 'Makatic'.
  21.  
  22. # Compiler and linker flags, These can be anything. 
  23. # All essential flags are included in the macros 
  24. # $(CC) and $(ASM)
  25. #
  26. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  27. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  28.  
  29. CC        =    cc -c $(CCFlags)
  30. ASM        =    objasm $(ASMFlags)
  31.  
  32.  
  33. # -------------------------------------------------------
  34. # Everything below here should probably not be changed...
  35. # -------------------------------------------------------
  36.  
  37. # Here's what we want to make...
  38. #
  39. All:        $(ObjectFiles)
  40.  
  41.  
  42. VPATH = @.^
  43.  
  44. .SUFFIXES:    .c .s .o
  45.  
  46. .c.o:
  47.     $(CC) $< -o $@
  48.     
  49. .s.o:
  50.     $(ASM) -from $< -to $@
  51.  
  52.  
  53.  
  54. # Dynamic dependencies:
  55.